package com.example.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
* <p>
* 教育经历表
* </p>
*
* @author wsl
* @since 2022-04-13
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("education_experience")
@ApiModel(value = "EducationExperience对象", description = "教育经历表")
public class EducationExperience implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("简历编号")
    private Integer resumeId;

    @ApiModelProperty("阶段")
    private String phase;

    @ApiModelProperty("入学日期")
    private LocalDate admissionDate;

    @ApiModelProperty("毕业时间")
    private LocalDate graduationDate;

    @ApiModelProperty("毕业学校")
    private String school;

    @ApiModelProperty("专业")
    private String major;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("逻辑删除")
    private Integer deleted;
}
